# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=licenseheaders
pkgver=0.8.6
pkgrel=1
pkgdesc="Add/Replace license headers in a directory tree of source files"
url="https://github.com/johann-petrak/licenseheaders"
arch="noarch"
license="MIT"
depends="python3 py3-regex"
makedepends="py3-setuptools"
options="!check" # no tests
source="https://files.pythonhosted.org/packages/source/l/licenseheaders/licenseheaders-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="84f0250e332910c8814be1acc27c3c69a2b4ec4d565a9ba2fc04076cf3de4625ee6d0ffd39666a9f6bd91600c526e76a9960a58be087498eec959923cf4885a4  licenseheaders-0.8.6.tar.gz"
